package cn.bdqn.dao.emp;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.bdqn.pojo.Depatement;
import cn.bdqn.pojo.Emp;

public interface EmpMapper {
	public List<Emp> list(@Param("empName")String empName,@Param("depId")Integer depId,@Param("num")int num,@Param("size")int size);
	public Emp view(int id);
	public int add(Emp emp);
	public int count(@Param("empName")String empName,@Param("depId")Integer depId);
	//查询所有部门记录信息
	public List<Depatement> getDepList();
}
